/* 
 * File:   LineOperator.h
 * Author: itu
 *
 * Created on November 26, 2011, 5:21 PM
 */
#include <iostream>
#include <string>
#include <sstream>

#ifndef LINEOPERATOR_H
#define	LINEOPERATOR_H

using namespace std;

class LineOperator {
public:
    LineOperator();
    LineOperator(string);
    bool hasNextString();
    string getStringBefore(string);
    string getString();
    void setLastParsed(string);
    void setLine(string);
    string getLine();
    bool isGoodForStreaming();
private:
    string lastParsed;
    string line;
    stringstream iss;
};

#endif	/* LINEOPERATOR_H */

